package ooday04_1;

public class Chick extends Animal {
    Chick(String name,int age,String color){
        super(name,age,color);
    }


    void eat() {
        System.out.println(color+"年龄为"+age+name+"小鸡在小米");
    }
    void layEegs(){
        System.out.println(color+"年龄为"+age+name+"小鸡在下蛋");
    }
}
